(file-truename): Revert change from 2002-11-27.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 12 Feb 2003 14:11:04 +0000 (14:11 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 12 Feb 2003 14:11:04 +0000 (14:11 +0000)
lisp/files.el

index 5ba163fc67150b40f8659e1afd04eeb7c865ba64..6d8aee3fe01f3ed2971a0d53728ee33e681232f1 100644 (file)
@@ -682,10 +682,8 @@ Do not specify them in other calls."
            (setq filename (funcall handler 'file-truename filename))
          ;; If filename contains a wildcard, newname will be the old name.
          (unless (string-match "[[*?]" filename)
-           ;; If filename exists, use the long name, otherwise
-           ;; canonicalize the name, to handle case differences.
-           (setq filename (or (w32-long-file-name filename)
-                              (untranslated-canonical-name filename)))))
+           ;; If filename exists, use the long name
+           (setq filename (or (w32-long-file-name filename) filename))))
        (setq done t)))
 
     ;; If this file directly leads to a link, process that iteratively